<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-tab layui-tab-brief" th:fragment="tab">
    <ul id="platSelect" class="layui-tab-title">
        <li th:if="${#authPermit.checkPermit('/service/item/detail.action')}"
            th:class="${flag == 1 ? 'layui-this' : ''}"><a
                th:href="|/service/item/detail.action?itemId=${faultItem.itemId}|">基本信息</a></li>
        <li th:if="${#authPermit.checkPermit('/service/item/warrantyInfoList.action') && faultItem.itemId != null}"
            th:class="${flag == 2 ? 'layui-this' : ''}"><a
                th:href="|/service/item/warrantyInfoList.action?servCategId=${faultGroup.servCategId}&categOneId=${faultGroup.categOneId}&categId=${categId}&groupId=${faultItem.groupId}&itemId=${faultItem.itemId}|">保修信息</a>
        </li>
        <li th:if="${#authPermit.checkPermit('/service/item/timeConfig/detail.action')&&faultItem.itemId >0}"
            th:class="${flag == 3 ? 'layui-this' : ''}"><a
                th:href="|/service/item/timeConfig/detail.action?itemId=${faultItem.itemId}|">显示时间</a></li>
        <li th:if="${#authPermit.checkPermit('/service/item/serviceTime.action')&&faultItem.itemId >0}"
            th:class="${flag == 4 ? 'layui-this' : ''}"><a
                th:href="|/service/item/serviceTime.action?itemId=${faultItem.itemId}|">服务时长</a></li>
        <li th:if="${#authPermit.checkPermit('/service/item/partList.action')&&faultItem.itemId >0&&faultTariff.tariffType==4}"
            th:class="${flag == 5 ? 'layui-this' : ''}"><a
                th:href="|/service/item/partList.action?itemId=${faultItem.itemId}|">关联配件</a></li>

    </ul>
</div>

</html>